package cn.knight.org.domain;

import cn.knight.basic.domain.BaseDomain;
import cn.knight.user.domain.Logininfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author winnie
 * @since 2022-07-02
 */
@Data
public class ShopAuditLog extends BaseDomain{

    private Integer shopId;
    private Integer auditId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date auditTime = new Date();
    private String note;

    private Logininfo logininfo;
    private Shop shop;

    @Transient
    private String token;


}
